Skip to content

Comments

Add undo/redo keyboard shortcuts to task form#465

Closed
bborn wants to merge 1 commit intomainfrom
task/1365-add-undoredo-keyboard-shortcuts-to-task
Closed

Add undo/redo keyboard shortcuts to task form#465
bborn wants to merge 1 commit intomainfrom
task/1365-add-undoredo-keyboard-shortcuts-to-task

Conversation

@bborn
Copy link
Owner

@bborn bborn commented Feb 18, 2026

Summary

  • Add Ctrl+Z (undo) and Ctrl+Y / Ctrl+Shift+Z (redo) support to the title and body text fields in the task creation/edit form
  • Undo history uses a time-based merge window (800ms) to group rapid keystrokes into single undo entries, so undoing feels natural
  • Capped at 100 undo entries per field to bound memory

Test plan

  • Unit tests for undo stack (merge, undo, redo, edge cases)
  • Manual: create/edit a task, type in title field, press Ctrl+Z to undo, Ctrl+Y to redo
  • Manual: type rapidly then undo — should undo chunks of text, not individual characters

🤖 Generated with Claude Code

Support Ctrl+Z (undo) and Ctrl+Y / Ctrl+Shift+Z (redo) in the title
and body text fields of the task form. Uses a time-based merge window
to group rapid keystrokes into single undo entries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bborn bborn closed this Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant